package com.company.service.impl.compute;

import com.company.service.Compute;

/**
 * 加法
 */

public class Add extends Compute {
    public int computer(int n, int m) {
        System.out.println(n + " + " + m + " = ");
        return n + m;
    }

    public Add() {
        System.out.println("加法运算：");
    }
}
